// Burpee Logo
/*window.onload = function() {

	var canvas = document.getElementById("logoCanvas");
	var context = canvas.getContext("2d");

	 context.rect(20, 30, 290, 50); 
	context.fillStyle = "rgb(224, 59, 41)";
	context.font = "60px Arial";
	context.fillText("B", 20, 80);
	context.shadowColor = "black";

	context.fillStyle = "black";
	context.fillText("urpee", 60, 80);
	context.shadowColor = "rgb(224, 59, 41)";

	context.shadowBlur = 50;
	context.fill();
};
	*/
/* * 
 *  메뉴바 
 * 
 
$(document).ready(function() {
	var filename = null;
	$(".head_menu_bar_li img").hover(function() {
		filename = $(this).attr('src');

		var file = filename.split(".");
		$(this).attr('src', file[0] + "1.png");

	});
	$(".head_menu_bar_li img").mouseout(function() {
		filename = $(this).attr('src').split("1");
		$(this).attr('src', filename[0] + filename[2]);

	});

});*/


/* �뚯썝 媛�엯혵 */
function memberAdd() {
	memberAddModal();
}

function memberAddModal() {
    // �붾㈃���믪씠���덈퉬
    var windowHeight = $(document).height();
    var windowWidth = $(window).width();

    $(".contentDiv").css({
                         'display': 'inherit'
    });

    $(".ui-widget-overlay ").css({
                          'width':windowWidth,
                          'height':windowHeight,
                          'display': 'inherit'
    });
}

/*  그룹리스트    */
function groupPopUp(groupNo) {
    window.open("group.spring?action=groupmemberpopup&groupNo=" + groupNo,"_blank","toolbar=yes, location=yes, directories=no," +
        " status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=509, height=490");

}

Map = function() {
    this.map = new Object();
};
Map.prototype = {
    put: function(key, value){
        this.map[key] = value;
    },
    get: function(key){
        return this.map[key];
    },
    contrainsKey: function(key){
        return key in this.map;
    },
    contrainsValue: function(value){
        for(var prop in this.map){
            if(this.map[prop] == value) return true;
        }
        return false;
    },
    isEmpty: function(key){
        return (this.size() == 0);
    },
    clear: function(){
        for(var prop in this.map){
            delete this.map[prop];
        }
    },
    keys: function(){
        var values = new Array();
        for(var prop in this.map){
            values.push(this.map[prop]);
        }
        return values;
    },
    size: function() {
     var count = 0;
        for(var prop in this.map){
            count++;
        }
        return count;
    }
}








